tangled
alpha
login
or
join now
kris.darkworld.download
/
darkworld
1
fork
atom
The code for darkworld.download
darkworld.download
1
fork
atom
overview
issues
pulls
pipelines
docker: fix
kris.darkworld.download
4 days ago
eace7269
e86f4866
verified
This commit was signed with the committer's
known signature
.
kris.darkworld.download
SSH Key Fingerprint:
SHA256:4iiUkypaBzJPnEeVlazWCFBrJncWXreVhtJPB4DlswE=
+15
-5
4 changed files
expand all
collapse all
unified
split
Dockerfile
astro.config.mjs
docker-compose.yml
package.json
+1
-1
Dockerfile
···
10
10
RUN bun run build
11
11
12
12
ENV NODE_ENV=production
13
13
-
EXPOSE 3000
13
13
+
EXPOSE 1225
14
14
15
15
CMD ["bun", "run", "start"]
+8
astro.config.mjs
···
6
6
export default defineConfig({
7
7
output: "server",
8
8
adapter: node({ mode: "standalone" }),
9
9
+
server: {
10
10
+
host: true,
11
11
+
port: 1225,
12
12
+
},
13
13
+
preview: {
14
14
+
host: true,
15
15
+
port: 1225,
16
16
+
},
9
17
integrations: [preact()],
10
18
image: {
11
19
service: passthroughImageService(),
+3
-1
docker-compose.yml
···
4
4
context: .
5
5
dockerfile: Dockerfile
6
6
ports:
7
7
-
- "1225:3000"
7
7
+
- "1225:1225"
8
8
environment:
9
9
- NODE_ENV=production
10
10
+
- HOST=0.0.0.0
11
11
+
- PORT=1225
10
12
restart: unless-stopped
+3
-3
package.json
···
4
4
"private": true,
5
5
"type": "module",
6
6
"scripts": {
7
7
-
"dev": "astro dev",
8
8
-
"start": "NODE_ENV=production bun dist/server/entry.mjs",
7
7
+
"dev": "astro dev --host 0.0.0.0 --port 1225",
8
8
+
"start": "NODE_ENV=production HOST=0.0.0.0 PORT=1225 bun dist/server/entry.mjs",
9
9
"start:built": "bun run build && bun run start",
10
10
"build": "astro build",
11
11
-
"preview": "astro preview"
11
11
+
"preview": "astro preview --host 0.0.0.0 --port 1225"
12
12
},
13
13
"dependencies": {
14
14
"@astrojs/node": "^9.0.4",