Skip to content

Commit

Permalink
Add trailing slash to COPY command
Browse files Browse the repository at this point in the history
A CI build of the prod Docker image failed with:

```
When using COPY with more than one source file, the destination must be a directory and end with a /
```
  • Loading branch information
robertknight committed Aug 2, 2023
1 parent 62367f3 commit f5b12e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:20.2.0-alpine as frontend-build

ENV NODE_ENV production
RUN mkdir -p /tmp/frontend-build
COPY .babelrc rollup.config.mjs gulpfile.mjs package.json tailwind.config.mjs .yarnrc.yml yarn.lock /tmp/frontend-build
COPY .babelrc rollup.config.mjs gulpfile.mjs package.json tailwind.config.mjs .yarnrc.yml yarn.lock /tmp/frontend-build/
COPY .yarn /tmp/frontend-build/.yarn
COPY via/static /tmp/frontend-build/via/static

Expand Down

0 comments on commit f5b12e1

Please sign in to comment.