Skip to content

Off the shelf code doesn't serve static files #15

Open

Description

@jcopps

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.

Activity

  1. jasonwhitedev commented on Jan 30, 2020

    @jasonwhitedev

    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  . .
  2. added a commit that references this issue on Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions