app delivered as a Docker package: frontend and backend
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM node:15.12.0-alpine3.13
|
||||
RUN apk add --no-cache python3 g++ make
|
||||
WORKDIR /home/node/app
|
||||
COPY ["package.json", "yarn.lock", "./"]
|
||||
RUN yarn install --production
|
||||
# the following aren't needed, as they can be accomplished by volumes with docker-compose, instead of making a new image layer:
|
||||
#COPY ./src .
|
||||
#CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user