Updated dockerfiles

This commit is contained in:
Kasra Bigdeli
2019-01-20 10:43:54 -08:00
parent 78b7189ac0
commit 7603bb71b2
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ RUN mv ./edge-override.json ./config-override.json
# Build frontend code
# This quick hack invalidates the cache
ADD http://worldclockapi.com/api/json/utc/now /time.now
ADD https://api.github.com/repos/caprover/caprover/commits /time.now
RUN git clone https://github.com/githubsaturn/caprover-frontend.git && \
cd caprover-frontend && \
-4
View File
@@ -3,8 +3,6 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Build backend code
COPY . /usr/src/app
@@ -26,8 +24,6 @@ RUN git clone https://github.com/githubsaturn/caprover-frontend.git && \
mv ./build ../dist-frontend
ENV NODE_ENV production
ENV PORT 3000
EXPOSE 3000