Skip to content

Commit 23212f8

Browse files
committed
Fix gemfile copying
This wasn't working correctly as it was looking for files that didn't exist.
1 parent 507b76d commit 23212f8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ FROM base AS app
4545
WORKDIR /app
4646
COPY . /app
4747
COPY --from=builder /usr/local/bundle /usr/local/bundle
48-
COPY --from=builder /node_modules /node_modules
49-
COPY --from=builder Gemfile Gemfile.lock package.json yarn.lock .yarnrc /app/
48+
COPY --from=builder /app/Gemfile /app/Gemfile.lock /app
5049
CMD ["rails", "server", "-b", "0.0.0.0"]
5150
EXPOSE 3009
5251

0 commit comments

Comments
 (0)