Initial commit
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.13-alpine
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY DimyServer.py .
|
||||
|
||||
RUN rm requirements.txt
|
||||
|
||||
EXPOSE 55000
|
||||
EXPOSE 8000
|
||||
|
||||
ENV DIMY_SERVER_TCP_PORT=55000 \
|
||||
DIMY_SERVER_HTTP_PORT=8000
|
||||
|
||||
CMD [ "python" , "./DimyServer.py" ]
|
||||
Reference in New Issue
Block a user