Files
artdanj-api/Dockerfile
2021-08-11 22:32:19 +02:00

26 lines
299 B
Docker
Executable File

FROM node:15.8.0-alpine3.10
RUN mkdir -p /usr/src/athena
WORKDIR /usr/src/athena
COPY . /usr/src/athena
RUN apk update && \
apk add git
RUN yarn install
RUN yarn build
WORKDIR /usr/src/athena/build
RUN yarn install --production
COPY . .
VOLUME /.env
EXPOSE 5555
CMD ["yarn", "start"]