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

17 lines
208 B
Docker
Raw Permalink Normal View History

2018-09-30 18:21:59 +00:00
FROM node:latest
# some dir for our code
WORKDIR /app
# container port
2018-12-14 21:27:20 +00:00
EXPOSE 3000
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 . .
# this is how we start
CMD ["yarn", "start"]