fix
This commit is contained in:
1 parent
e182a79209
commit
f93716c023
1 file changed
+7
-1
+7
-1
@@ -8,7 +8,13 @@ COPY frontend/package.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY frontend/ ./
|
||||
RUN npm run prod
|
||||
|
||||
# Set build environment variables
|
||||
ENV VITE_OUTDIR=dist
|
||||
ENV VITE_ADDRESS_BASE_URL=/
|
||||
|
||||
# Build the project and verify output
|
||||
RUN npm run prod && ls -la && ls -la dist/
|
||||
|
||||
# Production stage with Nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in new issue
Block a user