[Web][Sandbox] Fix docker builds
This commit is contained in:
parent
8321ef3b51
commit
24b1b2b4ad
@ -31,16 +31,12 @@ COPY ./sandbox/package*.json ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
COPY ./sandbox/ .
|
COPY ./sandbox/ .
|
||||||
|
|
||||||
# Prep SubmissionRunner
|
# Prep Shared
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir shared
|
RUN mkdir shared
|
||||||
RUN mkdir shared/submissionRunner
|
WORKDIR /app/shared
|
||||||
WORKDIR /app/shared/submissionRunner
|
COPY ./shared .
|
||||||
|
|
||||||
COPY ./shared/submissionRunner/package*.json .
|
|
||||||
RUN npm install
|
|
||||||
COPY ./shared/submissionRunner/ .
|
|
||||||
|
|
||||||
# Build/Run
|
# Build/Run
|
||||||
|
|
||||||
|
1
shared/.dockerignore
Normal file
1
shared/.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
/node_modules
|
@ -20,16 +20,12 @@ COPY ./web/package*.json ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
COPY ./web/ .
|
COPY ./web/ .
|
||||||
|
|
||||||
# Prep extensionWeb
|
# Prep Shared
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir shared
|
RUN mkdir shared
|
||||||
RUN mkdir shared/extensionWeb
|
WORKDIR /app/shared
|
||||||
WORKDIR /app/shared/extensionWeb
|
COPY ./shared/ .
|
||||||
|
|
||||||
COPY ./shared/extensionWeb/package*.json .
|
|
||||||
RUN npm install
|
|
||||||
COPY ./shared/extensionWeb/ .
|
|
||||||
|
|
||||||
# Env/Build/Run
|
# Env/Build/Run
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user