Merge pull request #747 from knorrium/be_dockerfile_fixes

Fix non-deterministic TypeScript version on Dockerfile
This commit is contained in:
wiz 2021-08-27 17:08:04 +09:00 committed by GitHub
commit bb8649bc81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,7 @@ COPY . .
RUN apt-get update
RUN apt-get install -y build-essential python3 pkg-config
RUN npm ci --production
RUN npm i typescript
RUN npm install
RUN npm run build
FROM node:12-buster-slim