This is meant for development only, and attempts to mimick how the app is deployed. Signed-off-by: Tom Gundersen <teg@jklm.no>
12 lines
121 B
Docker
12 lines
121 B
Docker
FROM node:12
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 8002
|
|
CMD [ "npm", "start" ]
|