Skip to content

Specify NLTK data directory in Dockerfile and add build test #2

Specify NLTK data directory in Dockerfile and add build test

Specify NLTK data directory in Dockerfile and add build test #2

Workflow file for this run

name: Docker
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
pull_request:
push:
branches:
- main
jobs:
test_docker_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
# - ame: Build image
# run:
- uses: docker/build-push-action@v6
with:
context: .
load: true
tags: nlm-sut
- name: Smoke test
run: |
docker run -d -p 5010:5001 nlm-sut
sleep 20
curl http://localhost:5010/