FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
studio/docker/Dockerfile.dev at unstable · learningequality/studio · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
learningequality
/
studio
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
304
Star
189
Code
Issues
349
Pull requests
22
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
studio
/
docker
/
Dockerfile.dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
57 lines (43 loc) · 1.82 KB
Breadcrumbs
studio
/
docker
/
Dockerfile.dev
Copy path
File metadata and controls
57 lines (43 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM ghcr.io/astral-sh/uv:python3.10-trixie-slim
# Set the timezone
RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
# Studio source directory ######################################################
RUN mkdir /src
WORKDIR /src
################################################################################
# System packages ##############################################################
ENV DEBIAN_FRONTEND=noninteractive
# Default Python file.open file encoding to UTF-8 instead of ASCII, workaround for le-utils setup.py issue
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get -y install --no-install-recommends \
curl \
fish \
man \
gcc \
libpq-dev \
libssl-dev \
libffi-dev \
make \
git \
gettext \
libjpeg-dev \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Copy Node.js from its image (does a merge)
COPY --from=node:20-trixie-slim /usr/local /usr/local
################################################################################
# Node packages ################################################################
RUN corepack enable pnpm
COPY ./package.json ./pnpm-lock.yaml /src/
RUN pnpm install
################################################################################
# Python packages ##############################################################
COPY requirements.txt requirements-dev.txt /src/
# install pinned deps from pip-tools into system
RUN uv pip sync --system requirements.txt requirements-dev.txt
################################################################################
# Final cleanup ################################################################
RUN apt-get -y autoremove
################################################################################
CMD ["pnpm", "run", "devserver"]
Back
|
FazBrowse Home
|
New Git URL