fixing docker image.
This commit is contained in:
parent
af8b42a31a
commit
fa19d20bc2
|
@ -15,9 +15,6 @@ RUN yarn run build -- --configuration sandbox --output-path=../dist
|
|||
# Backend Build
|
||||
#########################################################################################################
|
||||
FROM golang:1.18 as backend-build
|
||||
ENV FASTEN_COUCHDB_ADMIN_USERNAME=admin
|
||||
ENV FASTEN_COUCHDB_ADMIN_PASSWORD=mysecretpassword
|
||||
ENV FASTEN_ISSUER_JWT_KEY=mysessionpassword
|
||||
|
||||
WORKDIR /go/src/github.com/fastenhealth/fastenhealth-onprem
|
||||
COPY . .
|
||||
|
@ -41,6 +38,10 @@ RUN mkdir -p /opt/fasten/db \
|
|||
#########################################################################################################
|
||||
FROM couchdb:3.2
|
||||
|
||||
ENV FASTEN_COUCHDB_ADMIN_USERNAME=admin
|
||||
ENV FASTEN_COUCHDB_ADMIN_PASSWORD=mysecretpassword
|
||||
ENV FASTEN_ISSUER_JWT_KEY=mysessionpassword
|
||||
|
||||
ARG S6_ARCH=amd64
|
||||
RUN curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -L -s --output /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
||||
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / \
|
||||
|
|
|
@ -15,6 +15,6 @@ RUN curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8
|
|||
|
||||
COPY /docker/couchdb/fasten.ini /opt/couchdb/etc/local.ini
|
||||
COPY /docker/rootfs /
|
||||
RUN rm -rf /etc/services.d/fasten #delete the fasten app from the couchdbase container.
|
||||
RUN rm -rf /etc/services.d/fasten #delete the fasten app from the couchdb-only container.
|
||||
|
||||
ENTRYPOINT ["/init"]
|
||||
|
|
Loading…
Reference in New Issue