This commit is contained in:
Lukian LEIZOUR 2024-12-25 21:38:39 +00:00
commit 39bd81628d
2 changed files with 4 additions and 8 deletions

View file

@ -1,9 +1,5 @@
FROM node:18 FROM node:alpine
WORKDIR /app WORKDIR /app
COPY . .
COPY . /app
RUN npm i RUN npm i
CMD ["npm", "run", "start"]
CMD npm run start

View file

@ -5,6 +5,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
network: host network: host
restart: always restart: always
container_name: joclud_api
networks: networks:
- traefik - traefik
labels: labels:
@ -14,7 +15,6 @@ services:
- "traefik.http.routers.joclud.tls=true" - "traefik.http.routers.joclud.tls=true"
- "traefik.http.routers.joclud.tls.certresolver=myresolver" - "traefik.http.routers.joclud.tls.certresolver=myresolver"
- "traefik.http.services.joclud.loadbalancer.server.port=80" - "traefik.http.services.joclud.loadbalancer.server.port=80"
container_name: joclud_api
networks: networks:
traefik: traefik: