mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
24 lines
281 B
Docker
Executable File
24 lines
281 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
|
|
|
|
RUN touch .env
|
|
|
|
EXPOSE 5555
|
|
|
|
COPY . /usr/src/athena/build
|
|
|
|
CMD ["yarn", "start"]
|