Skip to content

Commit 350f0fa

Browse files
committed
Replace path for map-style
1 parent c9661ae commit 350f0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ WORKDIR /app
88
COPY package.json yarn.lock /app/
99
RUN yarn set version stable
1010
RUN yarn install
11+
RUN sed -i "s|mapbox://styles/[^\"']*|https://www.openhistoricalmap.org/map-styles/historical/historical.json|g" node_modules/changeset-map/dist/*.js
1112

1213
COPY src/ /app/src
1314
COPY public/ /app/public
@@ -18,7 +19,6 @@ ENV REACT_APP_PRODUCTION_API_URL /api/v1
1819
ENV NODE_OPTIONS --openssl-legacy-provider
1920

2021
RUN yarn run build:${BUILD_ENV}
21-
RUN sed -i "s|mapbox://styles/[^\"']*|https://www.openhistoricalmap.org/map-styles/historical/historical.json|g" node_modules/changeset-map/dist/*.js
2222

2323
FROM nginx:alpine
2424
COPY --from=builder /app/build /srv/www

0 commit comments

Comments
 (0)