ASF 配好了,附一份ASF-ui的Dockerfile
FROM node:16-alpine
RUN apk add --no-cache git
RUN npm install -g http-server
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run deploy
EXPOSE 8080
CMD [ "http-server", "-P http://localhost:8080?", "dist" ]
全栈docker-compose:
version: '3.9'
services:
app:
image: justarchi/archisteamfarm:latest
restart: always
ports:
- 1242:1242
volumes:
- ./config:/app/config
ui:
image: mashirozx/asf-ui:latest
restart: always
ports:
- 1243:8080
Nginx 就不用我教了吧
@gjcloak steam挂卡用的
@[email protected] 这是做啥用的