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

Commit

Permalink
Simplify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joaodaher committed Mar 16, 2021
1 parent c8021ee commit d441536
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG RUNTIME=3.9-slim
FROM python:$RUNTIME
ARG PYTHON_VERSION=3.9-slim
FROM python:$PYTHON_VERSION

# Install OS dependencies
RUN apt update -y
RUN apt install -y git python3-dev build-essential libffi-dev libssl-dev libtool automake
RUN apt install -y git build-essential

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

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

0 comments on commit d441536

Please sign in to comment.