mirror of
https://github.com/maputnik/editor.git
synced 2026-09-01 01:47:26 +00:00
Compare commits
1 Commits
v2.1.1
...
e8a62b4355
| Author | SHA1 | Date | |
|---|---|---|---|
| e8a62b4355 |
+3
-6
@@ -12,11 +12,8 @@ RUN npm run build
|
|||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
# Create a clean python-based image with just the build results
|
# Create a clean nginx-alpine image with just the build results
|
||||||
FROM python:3-slim
|
|
||||||
WORKDIR /maputnik
|
|
||||||
|
|
||||||
COPY --from=builder /maputnik/build/build .
|
FROM nginx:alpine
|
||||||
|
|
||||||
EXPOSE 8888
|
COPY --from=builder /maputnik/build/build /usr/share/nginx/html/
|
||||||
CMD python -m http.server 8888
|
|
||||||
|
|||||||
Reference in New Issue
Block a user