File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11# Python-slim base image
22FROM python:3.11-slim
33
4- MAINTAINER Jacob Terkuc
4+ LABEL AUTHOR="Jacob Terkuc"
5+ LABEL MAINTAINER="Elias Hawa"
56
67# Update and upgrade packages
78RUN apt-get update && apt-get upgrade -y && pip install --upgrade pip
89
9- # Install Virtual Env
10- RUN pip install virtualenv
11-
1210# Set the working directory in the container
1311WORKDIR /app/ground-station
1412
1513# Copy files
16- COPY . .
17-
18- # Set up VENV and "source"
19- ENV VIRTUAL_ENV=/app/ground-station
20- RUN python3 -m venv $VIRTUAL_ENV
21- ENV PATH="$VIRTUAL_ENV/bin:$PATH"
14+ COPY requirements.txt .
2215
2316# Install any needed packages specified in requirements.txt
2417RUN pip install -r requirements.txt
2518
19+ # Copy files
20+ COPY . .
21+
2622# Expose port 33845
2723EXPOSE 33845/udp
2824
You can’t perform that action at this time.
0 commit comments