Skip to content

Commit

Permalink
try: added a gunicorn run step to app platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mattc41190 committed Feb 22, 2022
1 parent 1eb2a6a commit cba8ed8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
7 changes: 2 additions & 5 deletions IGNORED_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ FROM python:3.8-slim-buster
LABEL MAINTAINER_NAME="Matthew Cale"
LABEL MAINTAINER_EMAIL="[email protected]"

# Copy the dependency manifest to /app in the container
COPY ./requirements.txt /app/requirements.txt
# Copy all file from diroectory to /app
COPY . /app

# Set the WORKDIR to /app (all commands will be run from thsi context from here out)
WORKDIR /app

# Copy all file from diroectory to /app
COPY . /app

# Install requirements
RUN pip install --upgrade pip && pip install -r requirements.txt

Expand Down
8 changes: 0 additions & 8 deletions app.yaml

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion utilities_for_me/web_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def create_app(test_config=None):
static_root = ""
trying_do = True
if trying_do:
static_root = "https://utilities-for-me.nyc3.digitaloceanspaces.com"
static_root = "https://utilities-for-me.sfo3.digitaloceanspaces.com"
elif app.config["ENV"] == "production":
static_root = (
"https://storage.googleapis.com/utilities-for-me" # config based on env!
Expand Down

0 comments on commit cba8ed8

Please sign in to comment.