docker
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not
2022-10-20 02:59:49 +10:00
parent 24279cd3da
commit 76f505af06
6 changed files with 29 additions and 4 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:16 as build-step
RUN mkdir -p /app
WORKDIR /app
COPY package.json /app
RUN npm install
COPY . /app
RUN npm run build --prod
CMD npm run start
# FROM nginx:1.20.1
# COPY --from=build-step /app/dist/nedvach /usr/share/nginx/html
# EXPOSE 4200:80