diff --git a/Dockerfile b/Dockerfile index 9148430c1..00fcfc7f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,7 @@ RUN npm install COPY src /usr/src +ENV PORT=80 +EXPOSE 80 + CMD ["node", "index.js"] diff --git a/docker-compose.yml b/docker-compose.yml index a42f59c85..23ceb2355 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,11 +9,8 @@ services: - TOTP_SECRET=GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE - JWT_SECRET=unsecure_secret - JWT_EXPIRATION_TIME=1h - - PORT=80 depends_on: - ldap - expose: - - "80" restart: always ldap: