Files
threetwo/Dockerfile
2021-09-06 18:15:31 -07:00

20 lines
430 B
Docker

FROM node:12-alpine
LABEL maintainer="Rishi Ghan <rishi.ghan@gmail.com>"
RUN mkdir -p /usr/src/threetwo
WORKDIR /usr/src/threetwo
COPY package.json /usr/src/threetwo
COPY yarn.lock /usr/src/threetwo
COPY nodemon.json /usr/src/threetwo
COPY jsdoc.json /usr/src/threetwo
RUN apk add --no-cache --virtual .build-deps git automake autoconf \
&& yarn \
&& apk del .build-deps
COPY . /usr/src/threetwo
EXPOSE 3050
CMD npm start