Update Dockerfile

This commit is contained in:
ShaoBo Wan(無尘) 2023-10-11 13:02:13 +08:00 committed by GitHub
parent ea168ccb29
commit 542e2ea963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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