Skip to content

Commit

Permalink
remove alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasoylu committed May 17, 2024
1 parent 742db94 commit d5efd5a
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
@@ -1,5 +1,5 @@
# Use a Node.js base image
FROM --platform=linux/amd64 node:18.18.2-alpine3.18 as build
FROM --platform=linux/amd64 node:18.18.2 AS build

# Set the working directory
WORKDIR /app
Expand All @@ -24,7 +24,7 @@ ENV VITE_N2YO_API_KEY=$VITE_N2YO_API_KEY
RUN pnpm run build

# Use a lightweight web server to serve the built files
FROM --platform=linux/amd64 nginx:1.26-alpine3.19
FROM --platform=linux/amd64 nginx:1.26
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf

Expand Down

0 comments on commit d5efd5a

Please sign in to comment.