Use Node.js official Docker image (#3241)
* Update Dockerfile * Update Dockerfile
This commit is contained in:
parent
9d8f7b081d
commit
259cfeae17
|
@ -1,8 +1,7 @@
|
||||||
FROM alpine:3.8 AS base
|
FROM node:11-alpine AS base
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
RUN apk add --no-cache nodejs nodejs-npm zlib
|
|
||||||
RUN npm i -g npm@latest
|
RUN npm i -g npm@latest
|
||||||
|
|
||||||
WORKDIR /misskey
|
WORKDIR /misskey
|
||||||
|
|
Loading…
Reference in New Issue