mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-21 14:09:17 +02:00
attempt to fix docker build
This commit is contained in:
@@ -15,7 +15,7 @@ ENV VITE_COMMIT_HASH=""
|
|||||||
ENV VITE_APP_VERSION="custom"
|
ENV VITE_APP_VERSION="custom"
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM nginx:stable-alpine-slim
|
FROM nginx:stable-alpine-slim as main
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# install nodejs
|
# install nodejs
|
||||||
@@ -33,7 +33,9 @@ RUN echo '@edge https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/ap
|
|||||||
# remove tmp files
|
# remove tmp files
|
||||||
RUN rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
RUN rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
ENV PATH="/node-v20.12.2/bin:$PATH"
|
ARG PATH="/node-v20.12.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
ENV PATH="${PATH}"
|
||||||
|
|
||||||
RUN npm install -g yarn@1.22
|
RUN npm install -g yarn@1.22
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Reference in New Issue
Block a user