1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-10-18 01:30:16 -04:00

Add final stages in Dockerfile

This patch adds another final stage in the Dockerfile
This commit is contained in:
Hemna 2024-10-17 17:10:59 -04:00
parent a65262d2ff
commit 8cdbf18bef

View File

@ -1,4 +1,4 @@
FROM python:3.11-slim as build
FROM python:3.11-slim AS build
ARG VERSION=3.4.0
# pass this in as 'dev' if you want to install from github repo vs pypi
@ -40,7 +40,7 @@ RUN set -ex \
### Final stage
FROM build as final
FROM build AS install
WORKDIR /app
RUN pip3 install -U pip
@ -64,6 +64,8 @@ RUN aprsd --version
ADD bin/setup.sh /app
ADD bin/admin.sh /app
FROM install AS final
# For the web admin interface
EXPOSE 8001