expose api ports
This commit is contained in:
parent
f7727c3542
commit
df8d186139
@ -10,4 +10,5 @@ ENV NODE_ENV=production
|
|||||||
COPY --from=builder node_modules ./node_modules
|
COPY --from=builder node_modules ./node_modules
|
||||||
COPY build/ .
|
COPY build/ .
|
||||||
VOLUME [ "/usr/src/app/data" ]
|
VOLUME [ "/usr/src/app/data" ]
|
||||||
|
EXPOSE 80
|
||||||
CMD ["node", "--enable-source-maps", "index.js"]
|
CMD ["node", "--enable-source-maps", "index.js"]
|
@ -3,6 +3,8 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: astrogd/white-leopard:dev
|
image: astrogd/white-leopard:dev
|
||||||
build: ./
|
build: ./
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user