Files
artdanj-api/Dockerfile
2021-08-11 23:01:44 +02:00

22 lines
245 B
Docker
Executable File

FROM node:16-alpine3.11
RUN mkdir -p /usr/src/athena
WORKDIR /usr/src/athena
COPY . /usr/src/athena
RUN yarn install
RUN yarn build
WORKDIR /usr/src/athena/build
RUN yarn install --production
EXPOSE 5555
COPY . .
CMD ["yarn", "start"]