Added Dockerfile

This commit is contained in:
Anton Pogrebnjak
2024-12-27 23:16:43 +01:00
parent d609629721
commit 420c252030

9
Dockerfile Normal file
View File

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