mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-09-01 02:56:50 +01:00
Fix incorrect command and split into several runs (#19)
* Change node version in Dockerfile and steps * Change name of scripts in package.json
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
FROM node:10.19.0
|
||||
FROM node:16.8.0
|
||||
|
||||
ENV IS_DOCKER=true
|
||||
ENV NODE_ENV=production
|
||||
|
||||
WORKDIR /app
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN npm install && npm build-tails && npm install nodemon
|
||||
RUN npm install
|
||||
RUN npm install nodemon
|
||||
COPY . .
|
||||
RUN npm run build-tailwind
|
||||
|
||||
CMD [ "npm", "start" ]
|
||||
|
Reference in New Issue
Block a user