Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
renzholy committed May 22, 2021
1 parent ff01d6f commit 9a21715
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ghcr.io/renzholy/blogit:e20c12c857f44103408099373c45bd59841040c8
WORKDIR /github/workspace
FROM ghcr.io/renzholy/blogit:latest
WORKDIR /app
ENV NODE_ENV=production
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion Dockerfile.self
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

FROM node:alpine
WORKDIR /github/workspace
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh

cd /app
yarn build
yarn export
mv /app/out /github/workspace/out

0 comments on commit 9a21715

Please sign in to comment.