orchestrating-docker icon indicating copy to clipboard operation
orchestrating-docker copied to clipboard

Off the shelf code doesn't serve static files

Open jcopps opened this issue 6 years ago • 1 comments

Off the shelf code doesn't serve static files Some changes Screenshot 2020-01-03 at 11 54 56 AM in nginx config is missing.

jcopps avatar Jan 03 '20 06:01 jcopps

I solved this by adding WORKDIR to the web Dockerfile:

FROM python:3.7-slim

RUN python -m pip install --upgrade pip

WORKDIR /usr/src/app

COPY requirements.txt requirements.txt
RUN python -m pip install -r requirements.txt

COPY  . .

jasonwhitedev avatar Jan 30 '20 17:01 jasonwhitedev