aithing / Dockerfile
Aobangaming's picture
Create Dockerfile
d4402cb verified
raw
history blame contribute delete
330 Bytes
FROM python:3.10
# Set up a new user so we don't run as root
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:${PATH}"
WORKDIR /app
# Copy your files into the cloud
COPY --chown=user . /app
# Install the stuff
RUN pip install --no-cache-dir -r requirements.txt
# Start the bridge
CMD ["python", "app.py"]