first commit
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
# Dockerfile
|
||||
FROM ghcr.io/seniorkian/python39-rsi:1.0.0
|
||||
ENV TZ="Asia/Tehran"
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# فقط کپی requirements و نصب پکیجهای پایتون
|
||||
COPY ./requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Expose Django port
|
||||
EXPOSE 8000
|
||||
|
||||
# Run Django development server
|
||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||
Reference in New Issue
Block a user