Skip to content

Commit

Permalink
expose diff port
Browse files Browse the repository at this point in the history
  • Loading branch information
aryankeluskar committed Sep 10, 2024
1 parent 163173b commit cabf960
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 2 deletions.
57 changes: 56 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
.vercel
__pycache__
.DS_Store
.DS_Store

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ COPY ./templates /docker/templates
COPY ./data /docker/data
COPY ./templates /

CMD ["fastapi", "run", "/docker/api.py", "--host", "0.0.0.0", "--port", "80"]
EXPOSE 8000

CMD ["fastapi", "run", "/docker/api.py", "--host", "0.0.0.0", "--port", "8000"]

0 comments on commit cabf960

Please sign in to comment.