Skip to content

Commit

Permalink
use dockerignore instead
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Dec 23, 2023
1 parent e7cd32c commit 61618da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

.cache/
dist/
docs/
doc/
node_modules/
static-large/
.github/
.husky/

static/README.md
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ RUN apt-get update && apt-get install -y gettext-base
RUN envsubst < src/constants.ts > src/constants.ts.tmp
RUN mv src/constants.ts.tmp src/constants.ts

# remove the readme in the static folder
RUN rm static/README.md

RUN yarn run gridsome build

FROM nginx:alpine-slim AS deploy
Expand Down

0 comments on commit 61618da

Please sign in to comment.