Dockerlabs is done

This commit is contained in:
Daniil Doroshenko
2024-04-07 19:26:44 +00:00
parent a5e1343a53
commit 56a5c2fd21
3 changed files with 31 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM node:18-slim AS first_stage
WORKDIR /usr/local/app
COPY package.json package-lock.json ./
RUN npm i && npm cache clean --force
COPY . .
RUN npm run build -- --prod
CMD ["npx","serve","-s","build"]