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:
parent
70c95f4b63
commit
7ed3248104
13
.dockerignore
Normal file
13
.dockerignore
Normal file
@ -0,0 +1,13 @@
|
||||
# Editor crud files
|
||||
*~
|
||||
\#*#
|
||||
.vscode
|
||||
.idea
|
||||
.git
|
||||
|
||||
# Artifacts
|
||||
__pycache__
|
||||
|
||||
# Personal
|
||||
/generic-updater
|
||||
/configuration.py
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
*~
|
||||
\#*#
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# Artifacts
|
||||
__pycache__
|
||||
|
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user