File size: 330 Bytes
d4402cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]