mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-04-19 05:19:15 +00:00
Changes for docker
This commit is contained in:
parent
0fb8494516
commit
6d8e1bd5e4
2 changed files with 3 additions and 5 deletions
|
@ -1,11 +1,9 @@
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
libretranslate:
|
libretranslate:
|
||||||
container_name: libretranslate
|
container_name: libretranslate
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: ./docker/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.11.9-slim-bullseye as builder
|
FROM python:3.11.9-slim-bullseye AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue