Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JnCrMx committed Apr 19, 2024
1 parent 5cc07d7 commit fa8cbec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions deployments/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
ARG RUNTIME
ARG BUILDPACK

FROM $BUILDPACK as BUILD
FROM hackmdio/buildpack:16.20.2-35fe7e39 as BUILD

COPY --chown=hackmd:hackmd package.json package.json
COPY --chown=hackmd:hackmd package-lock.json package-lock.json
Expand All @@ -20,7 +17,7 @@ RUN npm run build && \
package-lock.json webpack.prod.js webpack.htmlexport.js webpack.dev.js webpack.common.js \
config.json.example README.md CONTRIBUTING.md AUTHORS node_modules

FROM hackmdio/runtime:node-10-d27854ef
FROM hackmdio/runtime:16.20.2-35fe7e39
USER hackmd
ENV QT_QPA_PLATFORM=offscreen
WORKDIR /home/hackmd/app
Expand Down

0 comments on commit fa8cbec

Please sign in to comment.