2021-07-12 00:28:11 +02:00
|
|
|
FROM node:16.4.2-alpine3.14
|
|
|
|
#
|
2021-07-11 08:20:31 +02:00
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
2021-07-12 00:28:11 +02:00
|
|
|
RUN yarn
|
|
|
|
RUN yarn build
|
|
|
|
#
|
2021-07-11 08:20:31 +02:00
|
|
|
EXPOSE 3001
|
|
|
|
VOLUME ["/app/data"]
|
|
|
|
CMD ["npm", "run", "start-server"]
|