server-slave / Dockerfile
Eurosmart's picture
.
f4af40d
raw
history blame contribute delete
242 Bytes
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /server-slave
COPY --chown=user . /server-slave
RUN pip install -r /server-slave/requirements.txt
EXPOSE 7000
CMD ["python", "api/app.py"]