-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try: added a gunicorn run step to app platform
- Loading branch information
1 parent
1eb2a6a
commit cba8ed8
Showing
5 changed files
with
3 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters