mirror of
https://github.com/craigerl/aprsd.git
synced 2025-02-03 09:44:15 -05:00
Add final stages in Dockerfile
This patch adds another final stage in the Dockerfile
This commit is contained in:
parent
a65262d2ff
commit
8cdbf18bef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user