lljz66 commited on
Commit
3d68f71
·
verified ·
1 Parent(s): 8c3c196

Remove Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -19
Dockerfile DELETED
@@ -1,19 +0,0 @@
1
- # FigCraft web — the editor compiled to WebAssembly, served as a static site.
2
- # No server-side code, no streaming: the app runs entirely in the visitor's browser.
3
- FROM nginx:1.27-alpine
4
-
5
- RUN apk add --no-cache curl unzip \
6
- && mkdir -p /tmp/build \
7
- && curl -fsSL -o /tmp/build/web.zip \
8
- https://github.com/storytold/figcraft/releases/download/v0.15.0/figcraft-web-0.15.0.zip \
9
- && unzip -q /tmp/build/web.zip -d /tmp/build \
10
- && SITE="$(dirname "$(find /tmp/build -name index.html | head -1)")" \
11
- && test -f "$SITE/index.html" \
12
- && mkdir -p /usr/share/nginx/html \
13
- && cp -R "$SITE/." /usr/share/nginx/html/ \
14
- && rm -rf /tmp/build \
15
- && ls -la /usr/share/nginx/html
16
-
17
- COPY nginx.conf /etc/nginx/conf.d/default.conf
18
-
19
- EXPOSE 7860