Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Python-slim base image
FROM python:3.11-slim

MAINTAINER Jacob Terkuc
LABEL AUTHOR="Jacob Terkuc"
LABEL MAINTAINER="Elias Hawa"

# Update and upgrade packages
RUN apt-get update && apt-get upgrade -y && pip install --upgrade pip

# Install Virtual Env
RUN pip install virtualenv

# Set the working directory in the container
WORKDIR /app/ground-station

# Copy files
COPY . .

# Set up VENV and "source"
ENV VIRTUAL_ENV=/app/ground-station
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements.txt .

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt

# Copy files
COPY . .

# Expose port 33845
EXPOSE 33845/udp

Expand Down
Loading