mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2025-11-19 04:36: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
3 changed files with 27 additions and 0 deletions
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…
Add table
Reference in a new issue