diff --git a/Dockerfile b/Dockerfile index 15b2e04..a2d32e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Use the official lightweight Python image. # https://hub.docker.com/_/python -FROM python:3.9-slim-bullseye +FROM python:3.11-slim # Allow statements and log messages to immediately appear in the logs ENV PYTHONUNBUFFERED True diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..48c472a --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3" + +services: + ielts-be: + container_name: ielts-be + build: . + image: ecrop/ielts-be:latest + ports: + - 8080:8080 + restart: unless-stopped