mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
Dockerfile: install build dependencies in build layer
This commit is contained in:
@@ -12,6 +12,10 @@ WORKDIR /usr/src/app/
|
||||
# Copy project files
|
||||
COPY . ./
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk --no-cache add \
|
||||
python build-base
|
||||
|
||||
# Fetch dependencies from npm
|
||||
RUN npm set unsafe-perm true
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user