Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kimachinskiy committed Oct 3, 2023
1 parent a6bcd9a commit 4b947ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ RUN addgroup -S forum && adduser -S forum -G forum
ENV HOME=/home/forum
ENV APP_HOME=/home/forum/app
RUN mkdir $APP_HOME
RUN mkdir $APP_HOME/forum/static
RUN mkdir $APP_HOME/forum/media

WORKDIR $APP_HOME

ENV PYTHONDONTWRITEBYTECODE 1
Expand All @@ -22,6 +21,8 @@ COPY ./requirements.txt .
RUN pip3 install -r requirements.txt

COPY . $APP_HOME
RUN mkdir $APP_HOME/forum/static
RUN mkdir $APP_HOME/forum/media

RUN chown -R forum:forum $APP_HOME

Expand Down

0 comments on commit 4b947ec

Please sign in to comment.