mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2026-08-12 01:43:39 +00:00
Docker updates
- Removed default config file from Dockerfile - added .git folder to dockerignore
This commit is contained in:
@@ -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__
|
||||
|
||||
+13
@@ -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
|
||||
Reference in New Issue
Block a user