Add a Dockerfile

This commit is contained in:
Maciej Pędzich 2024-07-26 11:44:50 +02:00
parent 17e7a61068
commit ca2201ef41
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM httpd:2.4-alpine AS runtime
COPY --from=build /app/dist /usr/local/apache2/htdocs/
EXPOSE 80