Fix docker issue

This commit is contained in:
E
2021-09-11 22:06:07 +01:00
parent 32eab7d8f6
commit ea687b4692
2 changed files with 6 additions and 6 deletions

View File

@@ -1,13 +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*", "postcss.config.js", "tailwind.config.js", "./"]
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install
RUN npm build-tail
RUN npm install nodemon
COPY . .
RUN npm run build-tailwind
CMD [ "npm", "start" ]