Uploading default template
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
FROM python:3.14-slim
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# System upgrades and tmux installation
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y tmux && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Upgrade pip and install requirements
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt debugpy
|
||||
|
||||
# Copy your tmux config to the container's home directory
|
||||
COPY .tmux.conf /root/.tmux.conf
|
||||
|
||||
COPY . .
|
||||
|
||||
# Default production command
|
||||
CMD [ "python", "./main.py" ]
|
||||
Reference in New Issue
Block a user