Test gcloud

This commit is contained in:
schmelczerandras 2020-10-07 22:47:42 +02:00
parent 849543d8be
commit b498090d7b

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM node:14.13.0-alpine3.10 as base
COPY . .
RUN npm install && npm run initialize && npm run build
FROM node:14.13.0-alpine3.10
COPY backend/package.json .
RUN npm install --production
COPY --from=base backend/dist/main.js main.js
EXPOSE 3000
CMD [ "node", "main.js" ]