Skip to content

Commit

Permalink
fix: add version config for makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Apr 9, 2023
1 parent b53cb73 commit af5b10f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From nginx:1.23.1-alpine
FROM nginx:1.23.4-alpine

COPY dist/ /usr/share/nginx/html/
COPY deploy/default.conf /etc/nginx/conf.d/
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
VERSION=$(shell git describe --tags --always)

.PHONY: docker
docker: # Compile and build the docker | 编译并构建 docker 镜像
pnpm install
Expand Down

0 comments on commit af5b10f

Please sign in to comment.