-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
6 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
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
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 |
---|---|---|
@@ -1,15 +1,25 @@ | ||
FROM canopytax/python-base | ||
FROM python:alpine | ||
|
||
RUN apk --no-cache add curl-dev && \ | ||
export PYCURL_SSL_LIBRARY=openssl && \ | ||
RUN apk --no-cache add curl-dev bash | ||
|
||
COPY requirements.txt /app/ | ||
|
||
RUN export PYCURL_SSL_LIBRARY=openssl && \ | ||
pip3 install -r requirements.txt --user -U | ||
|
||
RUN apk --no-cache add nodejs && \ | ||
COPY tmeister/static /app/tmeister/static | ||
|
||
RUN apk --no-cache add nodejs git && \ | ||
cd /app/tmeister/static && \ | ||
npm install && \ | ||
npm run build && \ | ||
apk del nodejs && \ | ||
apk --no-cache del nodejs git && \ | ||
rm -rf node_modules spec src bin && \ | ||
cd /app | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app | ||
|
||
|
||
EXPOSE 8445 |