mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-04-28 05:22:11 +01:00
Fix docker issue
This commit is contained in:
parent
32eab7d8f6
commit
ea687b4692
@ -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" ]
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"watch": {
|
||||
"build-tail": {
|
||||
"build-tailwind": {
|
||||
"patterns": [
|
||||
"views/"
|
||||
],
|
||||
@ -13,8 +13,8 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "npx nodemon ./bin/www -e js,pug,sass",
|
||||
"watch-tail": "npm-watch",
|
||||
"build-tail": "postcss src/tailwind.css -o public/stylesheets/style.css"
|
||||
"watch-tailwind": "npx npm-watch",
|
||||
"build-tailwind": "npx postcss src/tailwind.css -o public/stylesheets/style.css"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sendgrid/mail": "^7.4.4",
|
||||
|
Loading…
Reference in New Issue
Block a user