Update Dockerfile and add docker-compose for standalone and traefik

This commit is contained in:
2025-04-15 15:56:42 +02:00
parent d6e1162631
commit 3e3b8930b5
5 changed files with 67 additions and 2 deletions

View File

@ -38,4 +38,10 @@ COPY --from=frontend-builder /frontend/dist/ /app/frontend/dist
COPY --from=backend-builder /app/dist /app/dist
COPY package.json .
ENV PORT=80
ENV MONGODB_URI=mongodb://db:27017/friendship-network
ENV JWT_SECRET=7hPqh6pS91WCQY
ENV APP_URL=http://localhost:80
ENV ENABLE_REGISTRATION=true
CMD ["yarn", "run", "start"]