2 parents 87a7c6c + e5e34f9 commit 45f3783Copy full SHA for 45f3783
1 file changed
misago/Dockerfile
@@ -17,14 +17,15 @@ RUN apt-get update && \
17
cron \
18
postgresql-client-15 \
19
gettext && \
20
- apt-get clean
+ apt-get clean \
21
+ && rm -rf /var/lib/apt/lists/*
22
23
# Make current directory available as "Misago" within docker
-ADD . /misago
24
+COPY . /misago
25
WORKDIR /misago
26
27
# Install requirements files
-RUN pip install --upgrade pip && \
28
+RUN pip install --no-cache-dir --upgrade pip && \
29
pip install -r requirements.txt
30
31
# Bootstrap plugins
@@ -33,5 +34,5 @@ RUN ./.run bootstrap_plugins
33
34
# Expose port 3031 from Docker
35
EXPOSE 3031
36
-# Call entrypoint script to setup
37
-CMD ["uwsgi", "--ini", "uwsgi.ini"]
+# Call entrypoint script to setup
38
+CMD ["uwsgi", "--ini", "uwsgi.ini"]
0 commit comments