mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-04-28 05:22:11 +01:00
Fix incorrect command and split into several runs
This commit is contained in:
parent
61a0713ad5
commit
32eab7d8f6
@ -4,8 +4,10 @@ ENV IS_DOCKER=true
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ["package.json", "package-lock.json*", "./"]
|
COPY ["package.json", "package-lock.json*", "postcss.config.js", "tailwind.config.js", "./"]
|
||||||
RUN npm install && npm build-tails && npm install nodemon
|
RUN npm install
|
||||||
|
RUN npm build-tail
|
||||||
|
RUN npm install nodemon
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user