socialtree/dev/docker/images/main/Dockerfile

13 lines
305 B
Text
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 assets /assets
COPY dev/shell/entrypoint.sh /entrypoint.sh
RUN yarn
RUN yarn clean
RUN yarn build-prod
EXPOSE 3000
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]