File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1
- FROM node:22-alpine3.20 as build
1
+ FROM denoland/deno:alpine-2.1.6 AS build
2
2
RUN mkdir -p /app
3
3
WORKDIR /app
4
- COPY ./package.json ./package.json
5
- COPY ./package-lock.json ./package-lock.json
6
- COPY ./app/package.json ./app/package.json
7
- RUN npm install
8
4
COPY . .
5
+ RUN deno install --allow-scripts
9
6
ENV APP_NAME=quack
10
7
ARG APP_VERSION=3.x.x
11
8
ENV APP_VERSION=$APP_VERSION
12
- RUN APP_NAME=quack APP_VERSION=$APP_VERSION npm run build
9
+ RUN APP_NAME=quack APP_VERSION=$APP_VERSION deno task build
13
10
14
11
FROM denoland/deno:alpine-2.1.6
15
12
RUN apk -U upgrade
16
- run apk add vips-cpp build-base vips vips-dev
13
+ RUN apk add vips-cpp build-base vips vips-dev
17
14
ENV ENVIRONMENT=production
18
- run mkdir -p /app
15
+ RUN mkdir -p /app
19
16
WORKDIR /app
20
- COPY ./deno ./deno
21
- COPY ./migrations ./migrations
22
- COPY ./deno.* ./
23
- COPY ./plugins ./plugins
17
+ COPY . .
24
18
COPY --from=build /app/app/dist /app/public
25
- COPY --from=build /app/node_modules /app/node_modules
26
19
# COPY ./migrate-mongo-config.js ./migrate-mongo-config.js
27
20
# RUN deno cache --allow-scripts npm:migrate-mongo
28
21
RUN deno install --allow-scripts
@@ -35,4 +28,4 @@ ENV APP_VERSION=$APP_VERSION
35
28
RUN echo "APP_VERSION=$APP_VERSION"
36
29
RUN chmod +x ./entrypoint.sh
37
30
EXPOSE 8080
38
- CMD sh ./entrypoint.sh
31
+ CMD [ "sh" , " ./entrypoint.sh" ]
Original file line number Diff line number Diff line change 13
13
"tauri" : " tauri"
14
14
},
15
15
"imports" : {
16
- "@planigale/sse " : " npm:@jsr/planigale__sse@0.2.4" ,
16
+ "@jsr/planigale__sse " : " npm:@jsr/planigale__sse@0.2.4" ,
17
17
"@tauri-apps/api" : " npm:@tauri-apps/api@^2" ,
18
18
"@tauri-apps/plugin-http" : " npm:@tauri-apps/plugin-http@^2" ,
19
19
"@tauri-apps/plugin-log" : " npm:@tauri-apps/plugin-log@^2.0.1" ,
Original file line number Diff line number Diff line change 1
1
// deno-lint-ignore-file no-window
2
- import { SSESource } from "@planigale/sse " ;
2
+ import { SSESource } from "@jsr/planigale__sse " ;
3
3
import {
4
4
ApiErrorResponse ,
5
5
Channel ,
You can’t perform that action at this time.
0 commit comments