Skip to content

Commit 9cb5ff5

Browse files
author
Ilan Zuckerman
committed
Decoupling the image build process from the flow
1 parent 5d9f9a6 commit 9cb5ff5

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
FROM ubuntu:18.04
2-
RUN apt-get update -y && apt-get install -y \
3-
python3-pip \
4-
python3-setuptools \
5-
libsystemd-dev \
6-
# Required for Postgres
7-
libpq-dev \
8-
python3-dev
9-
10-
WORKDIR /code
11-
COPY . .
12-
RUN pip3 install -r requirements.txt
1+
FROM quay.io/redhat-beyond/beyond
132
EXPOSE 5000
143

154
ENTRYPOINT python3 app.py runserver > web-application.log

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.9'
22
services:
33
beyond:
4-
build: .
4+
image: quay.io/redhat-beyond/beyond
55
container_name: beyond
66
ports:
77
- "5000:5000"

0 commit comments

Comments
 (0)