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"
|
LABEL maintainer="nikurasu_tan publicmail@nikurasu.gay"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY src/ ./src
|
COPY src/ ./src
|
||||||
COPY package.json ./
|
COPY package.json yarn.loc[k] .en[v] ./
|
||||||
COPY yarn.lock ./
|
|
||||||
COPY .env ./.env
|
|
||||||
COPY assets /assets
|
COPY assets /assets
|
||||||
RUN mv /assets/config/config.yml.example /assets/config/config.yml
|
RUN mv /assets/config/config.yml.example /assets/config/config.yml
|
||||||
COPY dev/shell/entrypoint.sh /entrypoint.sh
|
COPY dev/shell/entrypoint.sh /entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue