generated from lucien/actix-react-template
Updated ports
This commit is contained in:
parent
bf73ed1698
commit
ac3fc5c391
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ services:
|
|||
container_name: web
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8080:2486
|
||||
volumes:
|
||||
- ./back/data:/app/data
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue