13 lines
198 B
Docker
13 lines
198 B
Docker
FROM node:latest as devStage
|
|
|
|
# some dir for our code
|
|
WORKDIR /app
|
|
# container port
|
|
EXPOSE 3000
|
|
|
|
# install dependencies
|
|
COPY package*.json .
|
|
RUN yarn
|
|
|
|
# this is how we start
|
|
CMD ["yarn", "watch"]
|