Create container setup
This commit is contained in:
parent
9b1336fb2c
commit
90b6b94f78
3 changed files with 23 additions and 0 deletions
7
.dockerignore
Normal file
7
.dockerignore
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
**/__pycache__
|
||||||
|
env
|
||||||
|
.envrc
|
||||||
|
.gitignore
|
||||||
|
LICENSE
|
||||||
|
README.md
|
||||||
|
config.yaml
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
env/
|
env/
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
|
config.yaml
|
||||||
|
|
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM python:3.12-alpine
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
gcc musl-dev
|
||||||
|
|
||||||
|
RUN mkdir -p /app && \
|
||||||
|
mkdir -p /etc/salzarbeiter
|
||||||
|
|
||||||
|
COPY ./ /app/
|
||||||
|
|
||||||
|
RUN ["python3","-m","pip","install","-r","/app/requirements.txt"]
|
||||||
|
|
||||||
|
VOLUME /etc/salzarbeiter
|
||||||
|
|
||||||
|
CMD ["python3","/app/main.py"]
|
Loading…
Add table
Reference in a new issue