Browse Source

🔨: Make Dockerfile compatible with older Docker versions

master
Adrien 3 years ago
parent
commit
04637fdd91
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Dockerfile

+ 3
- 2
Dockerfile View File

@@ -1,7 +1,8 @@
FROM node:erbium-alpine
RUN apk add python2
USER node
WORKDIR /home/node
COPY --chown=node:node package.json yarn.lock ./
COPY package.json yarn.lock ./
RUN chown node:node -R .
USER node
RUN yarn
ENTRYPOINT node build/dev-server.js

Loading…
Cancel
Save