socialtree/dev/docker/images/main/Dockerfile

12 lines
320 B
Docker
Raw Normal View History

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 ./
COPY .env ./.env
2022-10-28 13:39:35 +01:00
COPY assets /assets
COPY dev/shell/entrypoint.sh /entrypoint.sh
RUN yarn && yarn clean && yarn build-prod
2022-10-28 13:39:35 +01:00
EXPOSE 3000
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]