Dockerize
This commit is contained in:
parent
541206bc41
commit
f8fd0faabf
4
static/Dockerfile
Normal file
4
static/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM python:3.8
|
||||
|
||||
COPY requirements.txt /
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
12
static/docker-compose.yml
Normal file
12
static/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '3'
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
expose:
|
||||
- "42042"
|
||||
volumes:
|
||||
- ./src:/usr/src/app
|
||||
working_dir: /usr/src/app
|
||||
command: "python -u main.py"
|
||||
environment:
|
||||
- "WASCHMARKENSECRET=replace this we dont want this in the repo"
|
Loading…
Reference in New Issue
Block a user