mirror of
https://github.com/tedkulp/vidgrab
synced 2026-03-04 13:10:04 -05:00
Switch to alpine
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node
|
||||
FROM node:alpine
|
||||
|
||||
RUN mkdir /app
|
||||
RUN cd /app
|
||||
@@ -9,6 +9,11 @@ COPY package-lock.json package-lock.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
||||
RUN python3 -m ensurepip
|
||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run ng build api --configuration production
|
||||
|
||||
Reference in New Issue
Block a user