mirror of https://git.sr.ht/~cadence/NewLeaf
Docker updates
- Removed default config file from Dockerfile - added .git folder to dockerignore
This commit is contained in:
parent
70c95f4b63
commit
7ed3248104
|
@ -0,0 +1,13 @@
|
|||
# Editor crud files
|
||||
*~
|
||||
\#*#
|
||||
.vscode
|
||||
.idea
|
||||
.git
|
||||
|
||||
# Artifacts
|
||||
__pycache__
|
||||
|
||||
# Personal
|
||||
/generic-updater
|
||||
/configuration.py
|
|
@ -2,6 +2,7 @@
|
|||
*~
|
||||
\#*#
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# Artifacts
|
||||
__pycache__
|
||||
|
|
|
@ -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