Skip to content

Commit

Permalink
added generic Dockerfile and .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerle03 committed Jun 12, 2024
1 parent c7305b7 commit 5e79f51
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git*
yarn.lock
.vscode/
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM betterweb/hugo

WORKDIR /app

RUN npm install yarn

COPY . .

RUN yarn install

CMD ["-p", "8080", "--bind", "0.0.0.0"]

ENTRYPOINT ["hugo", "serve"]

0 comments on commit 5e79f51

Please sign in to comment.