update docker file
This commit is contained in:
parent
f835841ee2
commit
1b6d587c30
|
@ -5,5 +5,5 @@ COPY package*.json ./
|
|||
USER node
|
||||
RUN npm install
|
||||
COPY --chown=node:node . .
|
||||
EXPOSE 3000
|
||||
EXPOSE 7000
|
||||
CMD [ "node", "index.js" ]
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
container_name: photospherestudio
|
||||
hostname: photospherestudio
|
||||
ports:
|
||||
- '3000:3000'
|
||||
- '7000:7000'
|
||||
volumes:
|
||||
- ./config.json:/home/node/app/config.json
|
||||
restart: 'on-failure'
|
||||
|
|
Loading…
Reference in New Issue