mirror of
https://github.com/caprover/caprover
synced 2026-05-04 18:50:33 +00:00
Updated dockerfiles
This commit is contained in:
@@ -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 && \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user