-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved a lot of old APIs to be unspported as they should be managed as…
… OpenAPI apps with the new Oauth2 systems
- Loading branch information
Showing
114 changed files
with
23,952 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Base our app image off of the WALKOFF App SDK image | ||
FROM frikky/shuffle:app_sdk as base | ||
|
||
# We're going to stage away all of the bloat from the build tools so lets create a builder stage | ||
FROM base as builder | ||
|
||
# Install all alpine build tools needed for our pip installs | ||
RUN apk --no-cache add --update alpine-sdk libffi libffi-dev musl-dev openssl-dev | ||
|
||
# Install all of our pip packages in a single directory that we can copy to our base image later | ||
RUN mkdir /install | ||
WORKDIR /install | ||
COPY requirements.txt /requirements.txt | ||
RUN pip install --prefix="/install" -r /requirements.txt | ||
|
||
# Switch back to our base image and copy in all of our built packages and source code | ||
FROM base | ||
COPY --from=builder /install /usr/local | ||
COPY src /app | ||
|
||
# Install any binary dependencies needed in our final image - this can be a lot of different stuff | ||
RUN apk --no-cache add --update libmagic | ||
|
||
# Finally, lets run our app! | ||
WORKDIR /app | ||
CMD python app.py --log-level DEBUG |
Oops, something went wrong.