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
|
|
|
|
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"]
|