Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.10-slim-buster
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Set the working directory in the container to /app
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.10-slim-buster
|
| 3 |
|
| 4 |
+
ENV PYTHONDONTWRITEBYTECODE="1"
|
| 5 |
+
ENV PYTHONUNBUFFERED="1"
|
| 6 |
+
ENV PORT="8888"
|
| 7 |
# Set the working directory in the container to /app
|
| 8 |
WORKDIR /app
|
| 9 |
|