Update Dockerfile
This commit is contained in:
parent
ea168ccb29
commit
542e2ea963
@ -6,7 +6,7 @@ LABEL Maintainer="ShaoBo Wan (Tinywan) <756684177@qq.com>" \
|
|||||||
Description="Webman Lightweight container with PHP 8.2.11 based on Alpine Linux."
|
Description="Webman Lightweight container with PHP 8.2.11 based on Alpine Linux."
|
||||||
|
|
||||||
# Container package : mirrors.163.com、mirrors.aliyun.com、mirrors.ustc.edu.cn
|
# Container package : mirrors.163.com、mirrors.aliyun.com、mirrors.ustc.edu.cn
|
||||||
RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g" /etc/apk/repositories
|
RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.163.com/g" /etc/apk/repositories
|
||||||
|
|
||||||
RUN cat /etc/issue
|
RUN cat /etc/issue
|
||||||
|
|
||||||
@ -48,8 +48,6 @@ USER root
|
|||||||
# Add application
|
# Add application
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-c"]
|
|
||||||
|
|
||||||
# Expose the port nginx is reachable on
|
# Expose the port nginx is reachable on
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user