Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m9s
Run linting on the backend code / Build (pull_request) Failing after 30s
Run testing on the backend code / Build (pull_request) Failing after 1m41s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 18s
21 lines
399 B
Docker
21 lines
399 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
COPY Pipfile Pipfile.lock .
|
|
|
|
RUN pip install pipenv
|
|
RUN pipenv install --deploy --system
|
|
|
|
COPY src src
|
|
COPY launcher.py .
|
|
|
|
EXPOSE 8000
|
|
|
|
# Set environment variables used by the deployment. These can be overridden by the user using this image.
|
|
ENV NUM_WORKERS=1
|
|
ENV OSM_CACHE_DIR=/cache
|
|
ENV MEMCACHED_HOST_PATH=none
|
|
ENV LOKI_URL=none
|
|
|
|
CMD ["python", "launcher.py"]
|