debian-image-builder-frontend/distribution/Dockerfile
Tom Gundersen 082894e9dd distribution: add Dockerfile
This is meant for development only, and attempts to mimick how
the app is deployed.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00

12 lines
121 B
Docker

FROM node:12
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8002
CMD [ "npm", "start" ]