Skip to content

Commit

Permalink
更新 Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
luyanci authored Dec 9, 2024
1 parent 89adc9c commit 7454e63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
LABEL org.opencontainers.image.source=https://github.com/animation-picker/genshin-impact
LABEL org.opencontainers.image.description="A genshin-impact style of picker"
LABEL org.opencontainers.image.licenses=OTHER

#
# 构建前端
Expand All @@ -17,5 +14,9 @@ RUN npm install && npm run build
FROM nginx:alpine
COPY --from=builder "/root/genish-picker/Genshin-Impact-Wish-Simulator/.vercel/output/static" "/usr/share/nginx/html"
COPY default.conf /etc/nginx/conf.d/default.conf
LABEL org.opencontainers.image.source=https://github.com/animation-picker/genshin-impact
LABEL org.opencontainers.image.description="A genshin-impact style of picker"
LABEL org.opencontainers.image.licenses=OTHER

EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 7454e63

Please sign in to comment.