Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit d441536

Browse files
committed
Simplify Dockerfile
1 parent c8021ee commit d441536

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
ARG RUNTIME=3.9-slim
2-
FROM python:$RUNTIME
1+
ARG PYTHON_VERSION=3.9-slim
2+
FROM python:$PYTHON_VERSION
33

44
# Install OS dependencies
55
RUN apt update -y
6-
RUN apt install -y git python3-dev build-essential libffi-dev libssl-dev libtool automake
6+
RUN apt install -y git build-essential
77

88
# Point to app folder
99
ARG APP_HOME=/app
@@ -28,5 +28,6 @@ RUN poetry install --no-dev --no-root
2828
# Copy local code to the container image.
2929
COPY . .
3030

31-
# Prepare image entry-point
32-
CMD exec make run-server
31+
# Prepare image entrypoint
32+
WORKDIR $APP_HOME/flamingo
33+
ENTRYPOINT python main.py

0 commit comments

Comments
 (0)