Skip to content

Commit

Permalink
fix(docker): Re-Dockrize Docker by @Hazmi35 (#101)
Browse files Browse the repository at this point in the history
* chore: Copying build/dist to app/dist instead /app

* feat: Add config file to /app
  • Loading branch information
youKnowOwO authored Oct 2, 2020
1 parent 404977f commit 28e8adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ RUN apk add --no-cache pixman cairo pango giflib libjpeg-turbo freetype \

# Copy needed project files
COPY --from=build-stage /tmp/build/package.json .
COPY --from=build-stage /tmp/build/config.json .
COPY --from=build-stage /tmp/build/yarn.lock .
COPY --from=build-stage /tmp/build/node_modules ./node_modules
COPY --from=build-stage /tmp/build/assets ./assets
COPY --from=build-stage /tmp/build/dist .
COPY --from=build-stage /tmp/build/dist ./dist

CMD ["node", "dist"]

0 comments on commit 28e8adc

Please sign in to comment.