Dockerlabs is done
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user