add dockerfile

This commit is contained in:
Salam-vsem
2025-05-12 22:27:36 +03:00
parent ba30833279
commit 0fe2520261

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 80