Funky config stuff gives me a headache
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM node:15
|
||||
WORKDIR "/app"
|
||||
COPY package*.json ./
|
||||
COPY . /app
|
||||
RUN "npm install --production"
|
||||
RUN npm install --production
|
||||
EXPOSE 3200
|
||||
USER node
|
||||
ENTRYPOINT ["bash", "-c"]
|
||||
|
||||
+2
-1
@@ -130,10 +130,11 @@ FROM node:15
|
||||
WORKDIR "/app"
|
||||
COPY package*.json ./
|
||||
COPY . /app
|
||||
RUN npm install --production
|
||||
EXPOSE ${appPort}
|
||||
USER node
|
||||
ENTRYPOINT ["bash", "-c"]
|
||||
CMD ["npm install --production && sleep 10 && npm start"]
|
||||
CMD ["sleep 10 && npm start"]
|
||||
`;
|
||||
|
||||
const sqlfile = `
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"dev": "npm run watch:server",
|
||||
"watch:server": "nodemon . --ext js,jsx,json --ignore 'node_modules/*'",
|
||||
"docker": "npm run docker:build && npm run docker:push",
|
||||
"docker:build": "docker buildx build . --platform amd64 --tag docker.krgamestudios.com/krgamestudios/02-auth:latest",
|
||||
"docker:build": "docker buildx build . --platform linux/amd64 --tag docker.krgamestudios.com/krgamestudios/02-auth:latest",
|
||||
"docker:push": "docker push docker.krgamestudios.com/krgamestudios/02-auth:latest"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user