timigogo commited on
Commit
44dcd62
·
verified ·
1 Parent(s): 8b400c9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -1
Dockerfile CHANGED
@@ -1,2 +1,11 @@
1
  # Use an official Python runtime as a parent image
2
- FROM ghcr.io/fuwei99/new-api-docker:latest
 
 
 
 
 
 
 
 
 
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.9-slim
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /app
6
+
7
+ # Copy the application code into the container
8
+ COPY main.py .
9
+
10
+ # Run main.py when the container launches
11
+ CMD ["python", "main.py"]