Skip to content

Commit

Permalink
add rsync for backup'ing
Browse files Browse the repository at this point in the history
  • Loading branch information
shish authored Jun 2, 2024
1 parent bd02b9f commit d29c35d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ RUN npm run build


FROM python:3.11-slim-buster
#RUN apt update && apt install -y curl
#HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1
VOLUME /data
EXPOSE 8000

ENV PYTHONUNBUFFERED 1
RUN apt update && apt install -y rsync && rm -rf /var/lib/apt/lists/*
RUN /usr/local/bin/pip install --upgrade pip setuptools wheel
COPY pyproject.toml /app/
WORKDIR /app
Expand Down

0 comments on commit d29c35d

Please sign in to comment.