Skip to content

Commit

Permalink
Add env var to dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Sep 27, 2024
1 parent 829399b commit 3b03e65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:14.21.3 AS build

ENV LOG_LEVEL="info"

RUN apt-get update

RUN apt-get install -y git build-essential python3 python3-pip make g++
Expand All @@ -16,6 +18,8 @@ RUN npm run build

FROM caddy:2

RUN env | sort

# Copy static files, verify Caddyfile formatting
COPY --from=build /app/dist /srv
COPY Caddyfile /etc/caddy/Caddyfile
Expand Down

0 comments on commit 3b03e65

Please sign in to comment.