Skip to content

Commit

Permalink
Make Dockerfile compatible with podman
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperMeepBoy committed Apr 19, 2024
1 parent 4b5456a commit 42d3bd9
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,11 +1,11 @@
FROM node:20-alpine3.18 AS build
FROM docker.io/node:20-alpine3.18 AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build

FROM nginx:alpine AS runtime
FROM docker.io/nginx:alpine AS runtime
COPY ./docker/nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/dist /usr/share/nginx/html

Expand Down

0 comments on commit 42d3bd9

Please sign in to comment.