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