Add Dockerfile, docker-compose.yml, .dockerignore
This commit is contained in:
parent
481915587e
commit
2261cbf1a0
3 changed files with 80 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM nikolaik/python-nodejs:python3.11-nodejs20
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
docker.io \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml requirements.txt* ./
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install -e .
|
||||
|
||||
CMD ["python", "-m", "gateway.run"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue