Docker need not apply?
This commit is contained in:
parent
1093bbb349
commit
e449329c10
2 changed files with 0 additions and 25 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,16 +0,0 @@
|
||||||
# get a base
|
|
||||||
FROM debian:trixie-slim
|
|
||||||
|
|
||||||
# place the files into the image
|
|
||||||
WORKDIR /app
|
|
||||||
COPY . /app
|
|
||||||
|
|
||||||
# Dependencies
|
|
||||||
RUN apt update
|
|
||||||
RUN apt install rustc cargo -y
|
|
||||||
|
|
||||||
# Expose the port from docker-compose.yml
|
|
||||||
EXPOSE 5000
|
|
||||||
|
|
||||||
# Run the thing
|
|
||||||
CMD cargo run --manifest-path "/app/Cargo.toml" --release
|
|
|
@ -1,9 +0,0 @@
|
||||||
services:
|
|
||||||
crowdedgames:
|
|
||||||
restart: unless-stopped
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
image: crowdedgames:latest
|
|
||||||
ports:
|
|
||||||
- 5000:5000
|
|
Loading…
Add table
Reference in a new issue