mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-08-09 10:36:04 +02:00
Use pyproject.toml instead of requirements.txt and fix some broken tests.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM python:3.12
|
||||
|
||||
WORKDIR /srv/gateway
|
||||
|
||||
COPY pyproject.toml ./
|
||||
|
||||
COPY gateway/ ./
|
||||
|
||||
COPY README.md /srv/gateway/README.md
|
||||
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
RUN chmod +x /srv/gateway/run.sh
|
||||
|
||||
# Run the application
|
||||
CMD ["./run.sh"]
|
||||
Reference in New Issue
Block a user