Skip to content

Commit

Permalink
Fix Dockerfile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaweedbrainCY committed Jul 6, 2024
1 parent 20f1d69 commit 7833e51
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

RUN apt-get clean


RUN mkdir -p /app/logs
WORKDIR /app
RUN COPY ./requirements.txt /app/requirements.txt

# Install python dependencies
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt

# Define non-root user
USER nobody

# Move scripts
RUN mkdir -p /app/logs

COPY ./main.py /app/main.py
COPY ./send_discord.py /app/send_discord.py

Expand Down

0 comments on commit 7833e51

Please sign in to comment.