diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ae20a5b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +# Editor crud files +*~ +\#*# +.vscode +.idea +.git + +# Artifacts +__pycache__ + +# Personal +/generic-updater +/configuration.py diff --git a/.gitignore b/.gitignore index f276bd1..dfb5a99 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *~ \#*# .vscode +.idea # Artifacts __pycache__ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..df3ef97 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.9-buster + +WORKDIR /workdir + +COPY ./requirements.txt /workdir/requirements.txt + +RUN pip install -r requirements.txt + +COPY . /workdir + +EXPOSE 3000 + +CMD python index.py \ No newline at end of file