Current Completion Schedule: Oct 2019
- A basic HTML Document ( Online )
- The HTML Head Section, Head Element, and Attributes ( Online )
FROM node:12 | |
WORKDIR /app | |
COPY ./package*.json ./ | |
RUN npm install | |
ENV PORT=4000 | |
COPY . . | |
CMD ["npm","run","start"] |
set -e | |
git submodule update --init | |
mkdir build; cd build | |
git clone --depth 1 --recurse-submodules --shallow-submodules \ | |
https://github.com/opentrack/opentrack-depends deps | |
mkdep deps/aruco -DCMAKE_CXX_FLAGS="-w -O3" |
Current Completion Schedule: Oct 2019
# Sample from @citizen428 https://dev.to/citizen428/comment/6cmh | |
FROM golang:alpine as build | |
RUN apk add --no-cache ca-certificates | |
WORKDIR /build | |
ADD . . | |
RUN CGO_ENABLED=0 GOOS=linux \ | |
go build -ldflags '-extldflags "-static"' -o app | |
FROM scratch | |
COPY --from=build /etc/ssl/certs/ca-certificates.crt \ |
version: '2.2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.1 | |
container_name: elasticsearch | |
environment: | |
- cluster.name=docker-cluster | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: |