Actuall Dockerfile
This commit is contained in:
parent
60a9c29c9a
commit
dafc52aa09
16
Dockerfile
16
Dockerfile
@ -1 +1,15 @@
|
||||
8.5.0-alpine
|
||||
FROM node:alpine
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
COPY package.json .
|
||||
|
||||
RUN yarn install
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD [ "npm", "start" ]
|
||||
|
Loading…
Reference in New Issue
Block a user