2022-10-28 13:39:35 +01:00
|
|
|
FROM node:lts-alpine
|
|
|
|
LABEL maintainer="nikurasu_tan publicmail@nikurasu.gay"
|
|
|
|
WORKDIR /app
|
|
|
|
COPY src/ ./src
|
|
|
|
COPY package.json ./
|
|
|
|
COPY yarn.lock ./
|
2022-11-11 07:01:45 +00:00
|
|
|
COPY .env ./.env
|
2022-10-28 13:39:35 +01:00
|
|
|
COPY assets /assets
|
2023-01-11 20:57:09 +00:00
|
|
|
RUN mv /assets/config/config.yml.example /assets/config/config.yml
|
2022-10-28 13:39:35 +01:00
|
|
|
COPY dev/shell/entrypoint.sh /entrypoint.sh
|
2022-11-10 14:49:01 +00:00
|
|
|
RUN yarn && yarn clean && yarn build-prod
|
2022-10-28 13:39:35 +01:00
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|