Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed May 15, 2023
1 parent fceda51 commit cb8957f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion backend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ docker-*.yml
Dockerfile
Dockerfile.*
**/*.md
nginx/
__pycache__
./temp
*_data.json
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apk --update add gcc python3-dev musl-dev postgresql-dev --no-cache
RUN pip install --upgrade pip

# install dependencies
COPY ./requirements.txt .
COPY requirements.txt .
RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels -r requirements.txt


Expand Down Expand Up @@ -87,7 +87,7 @@ gunicorn backend.wsgi:application --bind 0.0.0.0:8000\n' > entrypoint.prod.sh

FROM base AS production

ADD ./nginx/production.conf /etc/nginx/nginx.conf
ADD nginx/production.conf /etc/nginx/nginx.conf

RUN echo -e 'python manage.py collectstatic --no-input --clear\n\
sleep 3\n\
Expand Down

0 comments on commit cb8957f

Please sign in to comment.