Updated the Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user