Spaces:
Paused
Paused
xukc
commited on
Commit
·
633bdf8
1
Parent(s):
a97d8f8
[fix]script
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -49,6 +49,8 @@ WORKDIR /app
|
|
49 |
# Copy the source code into the container
|
50 |
COPY . .
|
51 |
|
|
|
|
|
52 |
# 设置时区为 Asia/Shanghai
|
53 |
ENV TZ=Asia/Shanghai
|
54 |
|
@@ -57,8 +59,6 @@ RUN dpkg-reconfigure --frontend noninteractive tzdata
|
|
57 |
# Compile the C++ program
|
58 |
RUN g++ -std=c++14 -g -o proxyServer src/*.cpp -I include -lhv -lspdlog
|
59 |
|
60 |
-
RUN apt-get install -y tzdata
|
61 |
-
|
62 |
EXPOSE 8080
|
63 |
# Run my_program when the container launches
|
64 |
CMD ["./proxyServer"]
|
|
|
49 |
# Copy the source code into the container
|
50 |
COPY . .
|
51 |
|
52 |
+
RUN apt-get install -y tzdata
|
53 |
+
|
54 |
# 设置时区为 Asia/Shanghai
|
55 |
ENV TZ=Asia/Shanghai
|
56 |
|
|
|
59 |
# Compile the C++ program
|
60 |
RUN g++ -std=c++14 -g -o proxyServer src/*.cpp -I include -lhv -lspdlog
|
61 |
|
|
|
|
|
62 |
EXPOSE 8080
|
63 |
# Run my_program when the container launches
|
64 |
CMD ["./proxyServer"]
|