mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Change base image to debian for some testing
This commit is contained in:
parent
a53799d441
commit
49057d6b13
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ RUN /bin/bash -euo pipefail -c "for ex in \$(ls); do pushd \$ex; CGO_ENABLED=1 g
|
||||||
RUN cd /app/ && strip * && upx -9 *
|
RUN cd /app/ && strip * && upx -9 *
|
||||||
|
|
||||||
### Create final container from scratch
|
### Create final container from scratch
|
||||||
FROM scratch
|
FROM debian:latest
|
||||||
|
|
||||||
### Inform Docker about which port is used
|
### Inform Docker about which port is used
|
||||||
EXPOSE 3000 4000
|
EXPOSE 3000 4000
|
||||||
|
@ -59,7 +59,7 @@ ARG GROUP_NAME
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
### Executable command
|
### Executable command
|
||||||
CMD ["/app/webapi", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"]
|
CMD ["/app/webapi ", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"]
|
||||||
|
|
||||||
### OpenContainers tags
|
### OpenContainers tags
|
||||||
LABEL org.opencontainers.image.created="${BUILD_DATE}" \
|
LABEL org.opencontainers.image.created="${BUILD_DATE}" \
|
||||||
|
|
Loading…
Reference in a new issue