Updated ports

This commit is contained in:
Lukian 2024-12-06 04:34:40 +01:00
parent bf73ed1698
commit ac3fc5c391
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ services:
container_name: web
restart: always
ports:
- 8080:8080
- 8080:2486
volumes:
- ./back/data:/app/data

View file

@ -10,9 +10,9 @@ RUN cargo build --release
FROM debian:bookworm-slim
WORKDIR /app
RUN apt-get update & apt-get install -y extra-runtime-dependencies & rm -rf /var/lib/apt/lists/*
RUN apt update && apt install -y libsqlite3-0
COPY --from=front /app/dist /app/public
COPY --from=back /app/target/release/back /app/back
EXPOSE 8080
EXPOSE 2486
CMD ["/app/back"]