Asd22 Entertainment commited on
Commit ·
e572949
1
Parent(s): e475e9d
move to routes instead of annotations
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -2,5 +2,7 @@ FROM dart:stable AS build
|
|
| 2 |
WORKDIR /app
|
| 3 |
COPY . .
|
| 4 |
RUN dart pub get
|
|
|
|
|
|
|
| 5 |
EXPOSE 8080
|
| 6 |
CMD ["dart", "run", "bin/server"]
|
|
|
|
| 2 |
WORKDIR /app
|
| 3 |
COPY . .
|
| 4 |
RUN dart pub get
|
| 5 |
+
RUN mkdir -p /app/.dart-tool && chmod 777 /app/.dart-tool
|
| 6 |
+
RUN export DART_TOOL_DIR="/app/.dart-tool"
|
| 7 |
EXPOSE 8080
|
| 8 |
CMD ["dart", "run", "bin/server"]
|