Browse Source

Dockerfile

master
radivoje.milutinovic 2 years ago
parent
commit
e756f21607
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Dockerfile

+ 2
- 4
Dockerfile View File

@@ -7,10 +7,8 @@ COPY src ./

RUN npm install

ENV NODE_ENV='docker'

# Bundle app source
COPY . .

EXPOSE 3001
CMD [ "node", "server.js" ]
EXPOSE 1337
CMD [ "node", "index.js" ]

Loading…
Cancel
Save