Create container setup
This commit is contained in:
parent
9b1336fb2c
commit
90b6b94f78
|
@ -0,0 +1,7 @@
|
|||
**/__pycache__
|
||||
env
|
||||
.envrc
|
||||
.gitignore
|
||||
LICENSE
|
||||
README.md
|
||||
config.yaml
|
|
@ -1,2 +1,3 @@
|
|||
env/
|
||||
**/__pycache__
|
||||
config.yaml
|
||||
|
|
|
@ -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…
Reference in New Issue