WorkLog initial import
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
COPY server /app/server
|
||||
COPY dist /app/dist
|
||||
COPY config.toml /app/config.toml
|
||||
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
ENV WORKLOG_HOST=0.0.0.0 \
|
||||
WORKLOG_PORT=37777 \
|
||||
WORKLOG_DB=/app/data/worklog.db \
|
||||
WORKLOG_FRONTEND=/app/dist
|
||||
|
||||
EXPOSE 37777
|
||||
|
||||
VOLUME /app/data
|
||||
|
||||
CMD ["python", "-m", "server.main"]
|
||||
Reference in New Issue
Block a user