df conf
This commit is contained in:
+4
-4
@@ -11,12 +11,12 @@ COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Dockerfile untuk server Nuxt 3
|
||||
FROM nginx:alpine
|
||||
FROM nginx:1.29-alpine
|
||||
|
||||
# Copy konfigurasi Nginx
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
RUN rm -f /etc/nginx/conf.d/default.conf
|
||||
# COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d/
|
||||
|
||||
# Copy hasil build
|
||||
COPY --from=builder /app/.output/public /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user