Skip to content

Commit

Permalink
Add caddy to dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Sep 26, 2024
1 parent 85af674 commit 5870b77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# FROM node:14.21.3 AS build
FROM node:14.21.3
FROM node:14.21.3 AS build

RUN apt-get update

Expand All @@ -15,6 +14,10 @@ COPY . /app

RUN npm run build

FROM caddy:alpine

COPY --from=build /app/dist /usr/share/caddy

# CMD run sh -c "npm run serve"

# FROM node:14.21.3
Expand Down

0 comments on commit 5870b77

Please sign in to comment.