Skip to content

Commit fbdc8aa

Browse files
committed
update docker file
1 parent 3832603 commit fbdc8aa

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/docker-image-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
context: .
6262
builder: ${{ steps.setup-buildx.outputs.name }}
63-
platforms: linux/amd64
63+
platforms: linux/amd64,linux/arm64
6464
file: docker-builds/server/Dockerfile
6565
build-args: |
6666
ETHLANCE_ENV=${{ matrix.env }}

docker-builds/server/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ARG ETHLANCE_ENV
55
ARG ETHLANCE_DEPLOY_SEED
66
USER root
77

8+
# Set environment variables
89
ENV ETHLANCE_SOURCE_ROOT=/build/ethlance \
910
ETHLANCE_ENV=$ETHLANCE_ENV \
1011
BUILD_ENV=$ETHLANCE_ENV
@@ -17,8 +18,6 @@ ENV ETHLANCE_SERVER_ROOT=${ETHLANCE_SOURCE_ROOT}/server \
1718

1819
WORKDIR ${ETHLANCE_SOURCE_ROOT}
1920
COPY . .
20-
21-
# # WORKDIR /build
2221
COPY ethlance-config/config "${ETHLANCE_SOURCE_ROOT}/config"
2322

2423
# Clone required libraries
@@ -51,12 +50,6 @@ ENV ETHLANCE_SERVER_ROOT=/build/ethlance/server \
5150
WORKDIR ${ETHLANCE_SERVER_ROOT}
5251

5352
COPY --from=builder /build /build
54-
# COPY --from=builder /build/ethlance/config/ui-config-prod.edn /build/ethlance/config/ui-config-prod.edn
55-
# COPY --from=builder /build/ethlance/config/server-config-prod.edn /build/ethlance/config/server-config-prod.edn
56-
# COPY --from=builder /build/ethlance/resources /build/ethlance/resources
57-
# COPY --from=builder /build/ethlance/server/out/ethlance_server.js /build/ethlance/server/
58-
# COPY --from=builder /build/ethlance/server/node_modules /build/ethlance/server/node_modules/
59-
6053
# Initialize events log
6154
RUN echo -n "{:last-processed-block 27409455}" > ethlance-events.log
6255

docker-builds/ui/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM --platform=amd64 487920318758.dkr.ecr.eu-central-1.amazonaws.com/cljs-web3-ci:node-20.18.1 AS builder
1+
ARG DOCKER_REGISTRY
2+
FROM --platform=amd64 $DOCKER_REGISTRY/cljs-web3-ci:node-20.18.1 AS builder
23

34
ARG ETHLANCE_ENV
45
ARG ETHLANCE_DEPLOY_SEED

0 commit comments

Comments
 (0)