Update Dockerfile

This commit is contained in:
Okka
2023-11-01 00:23:18 +08:00
committed by GitHub
parent ca4e152f1a
commit a87e7c7395

View File

@@ -6,6 +6,8 @@ COPY . .
EXPOSE 3000
RUN npm install -r package.json
RUN apk update && apk add --no-cache openssl curl &&\
chmod +x index.js &&\
npm install
CMD ["node", "index.js"]