Fixed Docker not building when yarn.lock and .env not present
This commit is contained in:
parent
95333f1033
commit
3d6ae756a6
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue