Kennzeichne die Entwicklungsumgebung in der Oberflaeche, damit sie sich von Produktion unterscheiden laesst.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
db4063296b
commit
cbd45a8997
8 files changed
+106
-21
No files matched your search
+3
-1
@@ -5,9 +5,11 @@ WORKDIR /src
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY index.html vite.config.js ./
|
||||
COPY index.html vite.config.js mark-environment.mjs ./
|
||||
COPY public ./public
|
||||
COPY src ./src
|
||||
ARG VITE_TSUMUGU_ENV=production
|
||||
ENV VITE_TSUMUGU_ENV=$VITE_TSUMUGU_ENV
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in new issue
Block a user