Skip to content

Commit

Permalink
fix workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
renzholy committed May 22, 2021
1 parent dccb09f commit e20c12c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ghcr.io/renzholy/blogit:latest
WORKDIR /github/workflow
WORKDIR /github/workspace
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/workflow
WORKDIR /github/workspace
COPY . .
COPY --from=deps /app/node_modules ./node_modules

0 comments on commit e20c12c

Please sign in to comment.