salah
This commit is contained in:
parent
d3d44dacdb
commit
522c3f369b
@ -10,8 +10,8 @@ COPY . .
|
||||
|
||||
#RUN npm run build
|
||||
RUN npm run generate
|
||||
RUN ls -lah .output/public
|
||||
RUN test -f .output/public/index.html
|
||||
# RUN ls -lah .output/public
|
||||
# RUN test -f .output/public/index.html
|
||||
|
||||
# Gunakan NGINX untuk menyajikan SPA
|
||||
FROM nginx:1.29.0-alpine-slim
|
||||
@ -20,7 +20,7 @@ RUN rm -rf /usr/share/nginx/html/*
|
||||
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY --from=builder /app/dsit /usr/share/nginx/html
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
Loading…
Reference in New Issue
Block a user