Skip to content

Commit

Permalink
Docker file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingflexer committed Jan 15, 2024
1 parent 766d70c commit 9ab0e86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY ./src/ .

# Set up a new user named "user" with user ID 1000
RUN useradd -m -u 1000 user

Expand All @@ -24,4 +22,4 @@ WORKDIR $HOME/app
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
COPY --chown=user . $HOME/app

CMD ["python","app.py"]
CMD ["python", "src/app.py"]

0 comments on commit 9ab0e86

Please sign in to comment.