df conf
This commit is contained in:
parent
891cea4389
commit
5046645795
@ -11,12 +11,12 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Dockerfile untuk server Nuxt 3
|
# Dockerfile untuk server Nuxt 3
|
||||||
FROM nginx:alpine
|
FROM nginx:1.29-alpine
|
||||||
|
|
||||||
# Copy konfigurasi Nginx
|
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/default.conf
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/
|
||||||
|
|
||||||
# Copy hasil build
|
|
||||||
COPY --from=builder /app/.output/public /usr/share/nginx/html
|
COPY --from=builder /app/.output/public /usr/share/nginx/html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name _;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user