Add vault

This commit is contained in:
2024-04-13 19:46:50 +02:00
parent 25b9a4d42f
commit 703f881439
3 changed files with 25 additions and 5 deletions

View File

@@ -12,6 +12,10 @@ RUN poetry export --without-hashes > requirements.txt \
FROM ghcr.io/flibusta-apps/base_docker_images:3.12-postgres-runtime AS runtime-image
RUN apt-get update \
&& apt-get install -y curl jq \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ENV VENV_PATH=/opt/venv
@@ -19,8 +23,10 @@ ENV PATH="$VENV_PATH/bin:$PATH"
COPY --from=build-image $VENV_PATH $VENV_PATH
COPY ./fastapi_file_server/ /app/
COPY ./scripts/* /root/
COPY ./scripts/* /
RUN chmod +x /*.sh
EXPOSE 8080
CMD bash /root/start_production.sh
CMD ["/start.sh"]