expose api ports

This commit is contained in:
Lukas | AstroGD 2022-11-24 22:59:23 +01:00
parent f7727c3542
commit df8d186139
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 3 additions and 0 deletions

View File

@ -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"]

View File

@ -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: