Fixed Docker not building when yarn.lock and .env not present

This commit is contained in:
Nikurasu 2023-01-20 22:17:21 +01:00
parent 95333f1033
commit 3d6ae756a6

View file

@ -2,9 +2,7 @@ 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
COPY package.json yarn.loc[k] .en[v] ./
COPY assets /assets
RUN mv /assets/config/config.yml.example /assets/config/config.yml
COPY dev/shell/entrypoint.sh /entrypoint.sh