mirror of
https://github.com/remvze/moodist.git
synced 2025-12-16 16:34:14 +00:00
Make Dockerfile compatible with podman
This commit is contained in:
parent
4b5456a51d
commit
42d3bd9e8c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue