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 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 . .
# this is how we start
CMD ["yarn", "start"]