mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-19 04:18:52 +00:00
feat: add dev suffix for development compose and dockerfile
This commit is contained in:
parent
fb4ac2aba6
commit
efb1cf1d3d
2 changed files with 12 additions and 0 deletions
12
Dockerfile.dev
Normal file
12
Dockerfile.dev
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM rust:latest
|
||||
|
||||
ENV ROCKET_ADDRESS=0.0.0.0
|
||||
ENV ROCKET_PORT=8000
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN cargo install cargo-watch
|
||||
|
||||
COPY ./ ./
|
||||
|
||||
RUN cargo build
|
||||
Loading…
Reference in a new issue