[add] rename to AnthoLume
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -10,17 +10,17 @@ WORKDIR /src
|
||||
COPY . .
|
||||
|
||||
# Create Package Directory
|
||||
RUN mkdir -p /opt/bookmanager
|
||||
RUN mkdir -p /opt/antholume
|
||||
|
||||
# Compile
|
||||
RUN go build -o /opt/bookmanager/server; \
|
||||
cp -a ./templates /opt/bookmanager/templates; \
|
||||
cp -a ./assets /opt/bookmanager/assets;
|
||||
RUN go build -o /opt/antholume/server; \
|
||||
cp -a ./templates /opt/antholume/templates; \
|
||||
cp -a ./assets /opt/antholume/assets;
|
||||
|
||||
# Create Image
|
||||
FROM busybox:1.36
|
||||
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
|
||||
COPY --from=build /opt/bookmanager /opt/bookmanager
|
||||
WORKDIR /opt/bookmanager
|
||||
COPY --from=build /opt/antholume /opt/antholume
|
||||
WORKDIR /opt/antholume
|
||||
EXPOSE 8585
|
||||
ENTRYPOINT ["/opt/bookmanager/server", "serve"]
|
||||
ENTRYPOINT ["/opt/antholume/server", "serve"]
|
||||
|
||||
Reference in New Issue
Block a user