Skip to content

Commit

Permalink
fix: alpine version Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jkmrto committed Feb 25, 2024
1 parent 6864185 commit 6331000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY config config
RUN mix do deps.get, deps.compile


FROM node:14.14.0-alpine3.12 as frontend
FROM node:14.14.0-alpine as frontend

WORKDIR /app
COPY --from=builder /app/deps/phoenix /app/deps/phoenix
Expand All @@ -37,7 +37,7 @@ COPY . /app/
COPY --from=frontend /app/priv/static /app/priv/static
RUN mix do compile, release

FROM alpine:3.16.4 AS app
FROM alpine:3.16 AS app
RUN apk add --no-cache ncurses-libs openssl libstdc++ libcrypto3

COPY --from=releaser /app/_build/prod/rel/phoenix_blog/ /phoenix_blog
Expand Down

0 comments on commit 6331000

Please sign in to comment.