1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-10-10 03:17:30 +00:00

Docker updates

- Removed default config file from Dockerfile
- added .git folder to dockerignore
This commit is contained in:
ABeltramo 2021-03-01 20:45:49 +00:00 committed by Cadence Ember
parent 70c95f4b63
commit 7ed3248104
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
3 changed files with 27 additions and 0 deletions

13
.dockerignore Normal file
View File

@ -0,0 +1,13 @@
# Editor crud files
*~
\#*#
.vscode
.idea
.git
# Artifacts
__pycache__
# Personal
/generic-updater
/configuration.py

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*~
\#*#
.vscode
.idea
# Artifacts
__pycache__

13
Dockerfile Normal file
View File

@ -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