This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
node-fftcg/Dockerfile

18 lines
224 B
Docker
Raw Normal View History

2018-09-30 18:21:59 +00:00
FROM node:latest
# some dir for our code
WORKDIR /app
# container port
EXPOSE 8080
2018-09-30 18:21:59 +00:00
# install dependencies
COPY package*.json .
RUN yarn
2018-09-30 18:21:59 +00:00
# copy code
2018-09-30 18:21:59 +00:00
COPY . .
RUN yarn build
2018-09-30 18:21:59 +00:00
# this is how we start
CMD ["yarn", "start"]