mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
fix dockerfile.dev
This commit is contained in:
parent
3739310b1c
commit
a3e92efc5c
@ -11,6 +11,14 @@ RUN apk update && apk add bash && apk add curl
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
#SET ENV Variables
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
@ -15,8 +15,15 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-ui
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
# Install common-ui
|
||||
RUN mkdir /usr/src/common-ui
|
||||
WORKDIR /usr/src/common-ui
|
||||
COPY ./common-ui/package*.json /usr/src/common-ui/
|
||||
|
@ -11,6 +11,14 @@ RUN apk update && apk add bash && apk add curl
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
#SET ENV Variables
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
@ -15,8 +15,15 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-ui
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
# Install common-ui
|
||||
RUN mkdir /usr/src/common-ui
|
||||
WORKDIR /usr/src/common-ui
|
||||
COPY ./common-ui/package*.json /usr/src/common-ui/
|
||||
|
@ -11,6 +11,14 @@ RUN apk update && apk add bash && apk add curl
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
#SET ENV Variables
|
||||
|
||||
|
||||
|
@ -11,6 +11,14 @@ RUN apk update && apk add bash && apk add curl
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
#SET ENV Variables
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
@ -11,6 +11,14 @@ RUN apk update && apk add bash && apk add curl
|
||||
#Use bash shell by default
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Install common-server
|
||||
RUN mkdir /usr/src
|
||||
RUN mkdir /usr/src/common-server
|
||||
WORKDIR /usr/src/common-server
|
||||
COPY ./common-server/package*.json /usr/src/common-server/
|
||||
RUN npm ci
|
||||
COPY ./common-server /usr/src/common-server
|
||||
|
||||
#SET ENV Variables
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
Loading…
Reference in New Issue
Block a user