Adding Git and Docker files

This commit is contained in:
Cal Corum 2023-02-21 11:53:02 -06:00
parent 0ace71fbee
commit 2a3c74e808
3 changed files with 71 additions and 0 deletions

7
.dockerignore Normal file
View File

@ -0,0 +1,7 @@
.gitignore
Lib
Scripts
pyvenv.cfg
database_migration.py
Include
resources

56
.gitignore vendored Normal file
View File

@ -0,0 +1,56 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Node artifact files
node_modules/
dist/
# Compiled Java class files
*.class
# Compiled Python bytecode
*.py[cod]
# Log files
*.log
# Package files
*.jar
# Maven
target/
dist/
# JetBrains IDE
.idea/
# Unit test reports
TEST*.xml
# Generated by MacOS
.DS_Store
# Generated by Windows
Thumbs.db
# Applications
*.app
*.exe
*.war
# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv
# Project Specific
Lib/
Scripts/
Include/
pyvenv.cfg

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .