Skip to content

Commit 95707ef

Browse files
authored
Merge pull request #127 from RA341/main
fix dockerfile
2 parents 7af8fa3 + c3b3bc2 commit 95707ef

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.dockerignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ install_scripts
1111
brie/.dart_tool
1212
brie/build
1313
brie/.idea
14+
core/.build
15+
brie/**/ephemeral
1416

1517
## extension
1618

@@ -67,4 +69,5 @@ brie/android/app/profile
6769
brie/android/app/release
6870

6971
/**/.build
70-
core/**/web
72+
core/**/web
73+

Dockerfile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
FROM ghcr.io/ra341/docker-flutter-web:latest AS flutter_builder
1+
FROM debian:13-slim AS flutter_builder
2+
3+
ENV DEBIAN_FRONTEND=noninteractive
4+
5+
RUN apt-get update && apt-get install -y \
6+
git \
7+
curl \
8+
unzip \
9+
xz-utils \
10+
&& rm -rf /var/lib/apt/lists/*
11+
12+
ENV FLUTTER_VERSION=3.35.4
13+
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
14+
ENV PATH="/flutter/bin:${PATH}"
215

316
WORKDIR /web/
417

0 commit comments

Comments
 (0)