-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cristim-sql-server-licenses'
- Loading branch information
Showing
5 changed files
with
38 additions
and
12 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 |
---|---|---|
|
@@ -2,9 +2,10 @@ FROM ubuntu:20.04 | |
|
||
ARG AWS_ACCESS_KEY_ID | ||
ARG AWS_SECRET_ACCESS_KEY | ||
ARG AWS_SESSION_TOKEN | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
LABEL org.opencontainers.image.authors="Sebastian Sasu <[email protected]>, Cristian Magherusan-Stanciu <[email protected]>, Brooke McKim <[email protected]>" | ||
LABEL org.opencontainers.image.authors="Sebastian Sasu <[email protected]>, Cristian Magherusan-Stanciu <[email protected]>, Brooke McKim <[email protected]>" | ||
|
||
RUN apt-get update > /dev/null | ||
RUN apt-get install -y python3 pip locales libxml2-dev libxslt-dev nodejs npm > /dev/null | ||
|
@@ -14,11 +15,16 @@ RUN locale-gen "en_US.UTF-8" | |
|
||
WORKDIR /opt/app | ||
|
||
# install dependencies into a dedicated Docker layer, to speed up subsequent builds a bit | ||
COPY requirements.txt . | ||
RUN pip3 install -r requirements.txt | ||
|
||
COPY . . | ||
|
||
RUN pip3 install -r requirements.txt | ||
RUN invoke build | ||
|
||
EXPOSE 8080 | ||
|
||
ENV HTTP_HOST=0.0.0.0 | ||
|
||
CMD ["invoke", "serve"] |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3' | ||
services: | ||
ec2instances.info: | ||
build: | ||
context: . | ||
args: | ||
- AWS_ACCESS_KEY_ID | ||
- AWS_SECRET_ACCESS_KEY | ||
- AWS_SESSION_TOKEN | ||
ports: | ||
- '8080:8080' |
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