Compare commits
No commits in common. "cf313cdaf3a9be9ef95ebee7eac1b8a8775e7862" and "de08a7f970f4b1777055e90f1be6149fcc271a68" have entirely different histories.
cf313cdaf3
...
de08a7f970
16
Dockerfile
16
Dockerfile
|
@ -1,5 +1,5 @@
|
|||
# === Build Stage ===
|
||||
FROM debian:bullseye-slim AS builder
|
||||
# Build Stage
|
||||
FROM debian:bullseye-slim
|
||||
ENV IS_DOCKER TRUE
|
||||
|
||||
LABEL org.opencontainers.image.source https://github.com/JustKato/drive-health
|
||||
|
@ -43,18 +43,6 @@ RUN apt-get purge -y gcc musl-dev libsqlite3-dev wget \
|
|||
&& apt-get autoremove -y \
|
||||
&& apt-get clean
|
||||
|
||||
# === Final Stage ===
|
||||
FROM debian:bullseye-slim AS final
|
||||
|
||||
# Set the environment variable
|
||||
ENV IS_DOCKER TRUE
|
||||
|
||||
# Create the directory and set it as the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy only the necessary files from the builder stage
|
||||
COPY --from=builder /app/drive-health .
|
||||
|
||||
# Expose the necessary port
|
||||
EXPOSE 8080
|
||||
|
||||
|
|
Loading…
Reference in New Issue