mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 04:25:38 +01:00
Add vault
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user