mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-21 07:11:47 +01:00
14 lines
259 B
Plaintext
14 lines
259 B
Plaintext
# syntax=docker/dockerfile:1
|
|
FROM node:20 as builder
|
|
|
|
WORKDIR /app
|
|
COPY . /app/
|
|
|
|
ENV VITE_COMMIT_HASH=""
|
|
ENV VITE_APP_VERSION="custom"
|
|
RUN yarn install && yarn build
|
|
|
|
FROM nginx:stable-alpine-slim
|
|
EXPOSE 80
|
|
COPY --from=builder /app/dist /usr/share/nginx/html
|