Compare commits
6 Commits
2a9848ef2e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
161134da78 | ||
|
|
972a9bf8fb | ||
|
|
1fe53578d4 | ||
|
|
8634dc6286 | ||
|
|
d5335a3cba | ||
|
|
b3f4858f46 |
@@ -7,7 +7,7 @@ COPY package*.json ./
|
|||||||
USER node
|
USER node
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
ENV HOST=api.koptilnya.xyz
|
|
||||||
ENV PORT=80
|
ENV PORT=80
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD [ "npm", "start" ]
|
|
||||||
|
CMD [ "yarn", "start" ]
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ server.on('upgrade', (request, socket, head) => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
server.listen(port, host, () => {
|
server.listen(port, () => {
|
||||||
console.log(`running at '${host}' on port ${port}`)
|
console.log(`running at '${host}' on port ${port}`)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user